package com.xinsoft.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xinsoft.entity.dto.ScmMaterialReturnApplyDTO;
import com.xinsoft.entity.dto.ScmMaterialReturnApplyParam;
import com.xinsoft.entity.po.ScmMaterialReturnApply;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xinsoft.entity.vo.ScmMaterialReturnApplyDetailVo;
import com.xinsoft.entity.vo.ScmMaterialReturnApplyPageVo;
import com.xinsoft.entity.vo.ScmMaterialReturnApplyVo;

import java.util.List;

/**
* @author ZYM
* @description 针对表【scm_material_return_apply(退料申请)】的数据库操作Service
* @createDate 2023-09-26 13:27:58
*/
public interface ScmMaterialReturnApplyService extends IService<ScmMaterialReturnApply> {

    IPage<ScmMaterialReturnApplyPageVo> findPageListByParam(ScmMaterialReturnApplyParam param);

    List<ScmMaterialReturnApplyPageVo> findListByParam(ScmMaterialReturnApplyParam param);

    Integer tempSave(ScmMaterialReturnApplyDTO dto);

    ScmMaterialReturnApplyDetailVo detail(Integer id);

    void del(List<Integer> ids);

    void audit(List<Integer> ids);

    void reverseAudit(List<Integer> ids);

    IPage<ScmMaterialReturnApplyVo> headList(ScmMaterialReturnApplyParam param);
}
